package com.magic.item.mapper;

import com.magic.item.pojo.Admin;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import tk.mybatis.mapper.common.Mapper;

/**
 * Created by zhuqin on 2021/3/8
 */
public interface AdminMapper extends Mapper<Admin> {
    @Select("select * from tb_admin where name = #{name} and password = #{password}")
    Admin selectLogin(@Param("name") String name, @Param("password") String password);
}
